package entity

import (
	"time"
)

type SpuDetailEntity struct {
	SpuId      int64     `gorm:"spu_id;primary_key"` // 商品id
	CreateTime time.Time `gorm:"create_time"`        // 创建时间
	UpdateTime time.Time `gorm:"update_time"`        // 更新时间
	Detail     string    `gorm:"detail"`             // 商品详情
}

func (*SpuDetailEntity) TableName() string {
	return "spu_detail"
}
